﻿
<!DOCTYPE html>

<html>
<head>
    <title>@ViewBag.Title</title>
    @this.RefStyle("~/content/jquery-ui/jquery-ui.min.css")

    @this.RefStyle("~/content/bootstrap/bootstrap.min.css")

    @this.RefStyle("~/content/css/framework-font.css")
    @this.RefStyle("~/content/css/framework-ui.css")

    @this.RefStyle("~/content/select2/select2.min.css")

    <!--layer-->
    @this.RefStyle("~/content/dialog/dialog.css") @*layer*@

    <!--ztree-->
    @this.RefStyle("~/lib/ztree_v3/css/metroStyle/metroStyle.css")

    <!--日期控件-->
    @this.RefStyle("~/content/My97DatePicker/skin/WdatePicker.css")

    <!--metro-->
    @this.RefStyle("~/content/metro/metro-bootstrap.css")


    @this.RefStyle("~/css/site.css")


    @this.RefScript("~/content/jquery/jquery-1.11.1.min.js")
    @this.RefScript("~/content/jquery-ui/jquery-ui.min.js")

    @this.RefScript("~/content/bootstrap/bootstrap.min.js")

    @this.RefScript("~/content/knockout/knockout-latest.js")
    @this.RefScript("~/content/knockout/knockout.mapping-latest.js")

    @this.RefScript("~/content/js/kohelper.js")
    @this.RefScript("~/content/validate/jquery.validate.min.js")
    @this.RefScript("~/content/My97DatePicker/WdatePicker.js")

    @*@this.RefScript("~/content/dialog/dialog.js")*@
    @this.RefScript("~/content/layer/layer.js")

    @this.RefScript("~/content/select2/select2.min.js")

    @*@this.RefScript("~/content/js/framework-ui.js")*@
    @this.RefScript("~/content/adminlteUI/js/app.js")

    
    @this.RefScript("~/content/adminlteUI/js/dh.js")
    

    <!--ztree-v3-->
    @this.RefScript("~/lib/ztree_v3/js/jquery.ztree.core.js")
    @this.RefScript("~/lib/ztree_v3/js/jquery.ztree.excheck.js")
    <!--ztree扩展（单选和多选）-->
    @this.RefScript("~/content/js/ztree-extension.js")



    @this.RefScript("~/content/vue/vue.js")

    @this.RefStyle("~/lib/bootstrap-table/dist/bootstrap-table.css")
    @this.RefScript("~/lib/bootstrap-table/dist/bootstrap-table.js")
    @this.RefScript("~/lib/bootstrap-table/dist/locale/bootstrap-table-zh-CN.js")
    @this.RefScript("~/lib/bootstrap-table/dist/locale/bootstrap-table-en-US.js")

    @*<script src="~/lib/bootstrap-table/dist/extensions/export/bootstrap-table-export.js"></script>
        <script src="~/content/tableExport/tableExport.js"></script>*@


    @using Microsoft.AspNetCore.Localization
    @using Microsoft.AspNetCore.Mvc.Localization
    @*@using Microsoft.Extensions.Options
        @using Microsoft.AspNetCore.Builder
        @inject IViewLocalizer Localizer*@
    @inject IHtmlLocalizer<SharedResources> SharedLocalizer
    @*@inject IOptions<RequestLocalizationOptions> LocOptions*@
    @{
        var requestCulture = Context.Features.Get<IRequestCultureFeature>();
    }
    <script>
        var _opAddStr = "@SharedLocalizer["Add"]";
        var _opEditStr = "@SharedLocalizer["Edit"]";
        var _btnClose = "@SharedLocalizer["btnClose"]";
        var _btnSubmit = "@SharedLocalizer["btnSubmit"]";
        var _SelectADataMsg = "@SharedLocalizer["PleaseSelectData"]";

        var _deleteRemand = "@SharedLocalizer["DeleteConfirm"]";
        var _enabledStr = "@SharedLocalizer["Enabled"]";
        var _disabledStr = "@SharedLocalizer["Disabled"]";

        $(function () {
            $(".modal-dialog").draggable({
                handle: ".modal-header",
                cursor: "move"
            });

            //设置bootstrap table 语言
            var cultureName= '@requestCulture.RequestCulture.UICulture.Name';
            $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales[cultureName]);
        });
    </script>



</head>
<body>
    

    @RenderBody()
    @Html.AntiForgeryToken()
</body>
</html>

